#pragma once

#define PLUGIN_API extern "C" __declspec(dllexport)

PLUGIN_API bool Compress(const void* pSrcData, size_t szSrc, void* pDestData, size_t stDest, size_t& szResult);
PLUGIN_API bool unCompress(const void* pSrcData, size_t szSrc, void* pDestData, size_t stDest, size_t& szResult);
PLUGIN_API char* GetPluginName();


typedef bool (*CpFunc)(const void*, size_t, void*, size_t, size_t&);
typedef char* (*NameFunc)();

